#include <stdio.h>
#include <stdlib.h> 
#include <string.h>

int main(int argc, char* argv[])
{
    char cmd[1024];

    if (argc != 2) 
        return 0;
        
//    fprintf(stdout, "%s", strcat("cat ", argv[1]));

    memset(cmd, 0, sizeof(cmd));
    sprintf(cmd, "%s", "echo -e \"\\033[5i\"");
    system(cmd);
   
//    fprintf(stdout, "%s", cmd); 
   
    memset(cmd, 0, sizeof(cmd));
    strcat(cmd, "cat ");
    strcat(cmd, argv[1]);
    system(cmd); 
    
    memset(cmd, 0, sizeof(cmd));
    sprintf(cmd, "%s", "echo -e \"\\033[4i\"");
    system(cmd);
   
    return 0;
}

